import request from "@/request/request";
import requestMock from "@/request/requestMock";
// 请求三级分类列表
export const reqCategoryList = () => {
  return request.get("/product/getBaseCategoryList");
};

// 请求轮播图的mock数据
export const reqBannerList = () => {
  return requestMock.get("/home/banner");
};

// 请求首页的floor数据
export const reqFloorList = () => {
  return requestMock.get("/home/floor");
};

// 请求搜索页数据
export const reqSearchList = (searchParams) => {
  return request.post("/list", searchParams);
};